package com.xxl.job.executor.mvc.api;

import com.web.all.common.bean.response.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "app-patrol",primary = false)
public interface AppPatrolApi {

    /**
     * 创建规则
     * @param ruleId 规则ID
     * @return 创建
     */
    @GetMapping("/patrol/v2/rule/send")
    Result send(@RequestParam String ruleId);
}
